package edu.xpu.compute.recommend.entity.user;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 我的评论
 * @author liukang
 * @date 2019年11月1日
 */
@Getter
@Setter
@NoArgsConstructor
@Entity(name="UserComment")
@Table(name="USER_COMMENT")
public class UserComment {
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Long id;
	/*
	 * 用户信息
	 */
	private Long userGuid;
	private String userName;
	/*
	 * 图书信息
	 */
	private Long bookGuid;
	private String bookName;
	
	/*
	 * 图书评论
	 */
	@Column(length=2048)
	private String bookComment;
	/*
	 * 满意度
	 */
	private Float satisfacteVal;
	
	private Date createDate;

}
